<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Objective-C API Reference for iOS/macOS: JCMessageChannelItem类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Objective-C API Reference for iOS/macOS
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#properties">属性</a> &#124;
<a href="interface_j_c_message_channel_item-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">JCMessageChannelItem类 参考<div class="ingroups"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html">消息通道模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#import &lt;<a class="el" href="_j_c_message_channel_item_8h_source.html">JCMessageChannelItem.h</a>&gt;</code></p>
<div class="dynheader">
类 JCMessageChannelItem 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="interface_j_c_message_channel_item.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:a8dd63ca11f090b821baa3b18aefbd806"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a8dd63ca11f090b821baa3b18aefbd806">messageId</a></td></tr>
<tr class="separator:a8dd63ca11f090b821baa3b18aefbd806"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd79e52b09aadb6356df7c2f79da607f"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#abd79e52b09aadb6356df7c2f79da607f">messageType</a></td></tr>
<tr class="separator:abd79e52b09aadb6356df7c2f79da607f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a232ccd3fc687dad44a387cc22438c680"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a232ccd3fc687dad44a387cc22438c680">text</a></td></tr>
<tr class="separator:a232ccd3fc687dad44a387cc22438c680"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f870c0a7c1bc7989db85cd050758110"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a1f870c0a7c1bc7989db85cd050758110">fileUri</a></td></tr>
<tr class="separator:a1f870c0a7c1bc7989db85cd050758110"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6afc6f092f2076ca0b5672e8042a389f"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a6afc6f092f2076ca0b5672e8042a389f">thumbUri</a></td></tr>
<tr class="separator:a6afc6f092f2076ca0b5672e8042a389f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3d2bc43987983ff731b97b5654a304d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#aa3d2bc43987983ff731b97b5654a304d">fileSize</a></td></tr>
<tr class="separator:aa3d2bc43987983ff731b97b5654a304d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bd664c78e4fcdd242318b903bcd06af"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a7bd664c78e4fcdd242318b903bcd06af">duration</a></td></tr>
<tr class="separator:a7bd664c78e4fcdd242318b903bcd06af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9fb0eb0099cca039808fa99c38e8957"><td class="memItemLeft" align="right" valign="top">NSDictionary *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#ac9fb0eb0099cca039808fa99c38e8957">extraParams</a></td></tr>
<tr class="separator:ac9fb0eb0099cca039808fa99c38e8957"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee9dfa94ca61406fab5474d386afee76"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#aee9dfa94ca61406fab5474d386afee76">userId</a></td></tr>
<tr class="separator:aee9dfa94ca61406fab5474d386afee76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf622250ca09d62d7b85cd67227e26f0"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#adf622250ca09d62d7b85cd67227e26f0">displayName</a></td></tr>
<tr class="separator:adf622250ca09d62d7b85cd67227e26f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a357f3347a4604cd5587d0cba0f648155"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a357f3347a4604cd5587d0cba0f648155">groupId</a></td></tr>
<tr class="separator:a357f3347a4604cd5587d0cba0f648155"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04ebcb8801cc110db121474822b158ea"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a04ebcb8801cc110db121474822b158ea">time</a></td></tr>
<tr class="separator:a04ebcb8801cc110db121474822b158ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a386b59f8c74c8eb5484ddec22c01f265"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a386b59f8c74c8eb5484ddec22c01f265">sentTime</a></td></tr>
<tr class="separator:a386b59f8c74c8eb5484ddec22c01f265"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3afec618689d1e0513e9de13adc8d388"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga4ecdc302070782f5b874531d825c6266">JCMessageChannelItemDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a3afec618689d1e0513e9de13adc8d388">direction</a></td></tr>
<tr class="separator:a3afec618689d1e0513e9de13adc8d388"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5805de3cd29a8d371e192514819656b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gaf3c09a60029d0e8dae56658b90f7d0f4">JCMessageChannelType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#af5805de3cd29a8d371e192514819656b">type</a></td></tr>
<tr class="separator:af5805de3cd29a8d371e192514819656b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e2946d84554de3591e6e0e35d545240"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga06f14dfb74f599d1decfd5712bef0b01">JCMessageChannelItemState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a6e2946d84554de3591e6e0e35d545240">state</a></td></tr>
<tr class="separator:a6e2946d84554de3591e6e0e35d545240"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48c9942df1f8290d3d4e7020926b9346"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gadcdc55c320196bc8d9c918bc1df0edd8">JCMessageChannelReason</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a48c9942df1f8290d3d4e7020926b9346">error</a></td></tr>
<tr class="separator:a48c9942df1f8290d3d4e7020926b9346"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12619fd0c3fcffa467de70c8725fb9c0"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a12619fd0c3fcffa467de70c8725fb9c0">serverMessageId</a></td></tr>
<tr class="separator:a12619fd0c3fcffa467de70c8725fb9c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9aef48f9f6d11fca0948667ff3642977"><td class="memItemLeft" align="right" valign="top">id&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a9aef48f9f6d11fca0948667ff3642977">cookie</a></td></tr>
<tr class="separator:a9aef48f9f6d11fca0948667ff3642977"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ffb39314802c6e9ddb3e43e91100c7f"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a3ffb39314802c6e9ddb3e43e91100c7f">serverUid</a></td></tr>
<tr class="separator:a3ffb39314802c6e9ddb3e43e91100c7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a594deb086e4869ac8d1339370b99c395"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a594deb086e4869ac8d1339370b99c395">senderUid</a></td></tr>
<tr class="separator:a594deb086e4869ac8d1339370b99c395"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0235aa975eb5540eb75a207e8a422169"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a0235aa975eb5540eb75a207e8a422169">atMe</a></td></tr>
<tr class="separator:a0235aa975eb5540eb75a207e8a422169"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a8e1d3bd59f7ddba23387eaf2276a1e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a4a8e1d3bd59f7ddba23387eaf2276a1e">atAll</a></td></tr>
<tr class="separator:a4a8e1d3bd59f7ddba23387eaf2276a1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a043c312da8c526d9f687246a6ea80e39"><td class="memItemLeft" align="right" valign="top">NSArray&lt; NSString * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a043c312da8c526d9f687246a6ea80e39">atServerUidList</a></td></tr>
<tr class="separator:a043c312da8c526d9f687246a6ea80e39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a511dc4abaa85cba07b04b6819537b0a2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a511dc4abaa85cba07b04b6819537b0a2">isWithdrawal</a></td></tr>
<tr class="separator:a511dc4abaa85cba07b04b6819537b0a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a533d5862016c533a6e5d14212dc411b9"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_message_channel_item.html#a533d5862016c533a6e5d14212dc411b9">withdrawalMessageId</a></td></tr>
<tr class="separator:a533d5862016c533a6e5d14212dc411b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>IM消息对象类 </p>
</div><h2 class="groupheader">属性说明</h2>
<a id="a4a8e1d3bd59f7ddba23387eaf2276a1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a8e1d3bd59f7ddba23387eaf2276a1e">&#9670;&nbsp;</a></span>atAll</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (bool) atAll</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否@所有人，针对群聊</p><ul>
<li>true: @所有人</li>
<li>false: 未@所有人 </li>
</ul>

</div>
</div>
<a id="a0235aa975eb5540eb75a207e8a422169"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0235aa975eb5540eb75a207e8a422169">&#9670;&nbsp;</a></span>atMe</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (bool) atMe</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否@我的，针对群聊</p><ul>
<li>true: @我</li>
<li>false: 未@我 </li>
</ul>

</div>
</div>
<a id="a043c312da8c526d9f687246a6ea80e39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a043c312da8c526d9f687246a6ea80e39">&#9670;&nbsp;</a></span>atServerUidList</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSArray&lt;NSString*&gt;*) atServerUidList</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>@的uid列表 </p>

</div>
</div>
<a id="a9aef48f9f6d11fca0948667ff3642977"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9aef48f9f6d11fca0948667ff3642977">&#9670;&nbsp;</a></span>cookie</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (id) cookie</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>cookie </p>

</div>
</div>
<a id="a3afec618689d1e0513e9de13adc8d388"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3afec618689d1e0513e9de13adc8d388">&#9670;&nbsp;</a></span>direction</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga4ecdc302070782f5b874531d825c6266">JCMessageChannelItemDirection</a>) direction</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>消息传输方向，参见：</p><ul>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga4ecdc302070782f5b874531d825c6266a7d0d6898b4722987d411e8870f1ccd9c">JCMessageChannelItemDirectionSend</a> : 发送</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga4ecdc302070782f5b874531d825c6266a78383e0d1751e54da1ddbb311460753e">JCMessageChannelItemDirectionReceive</a> : 接收 </li>
</ul>

</div>
</div>
<a id="adf622250ca09d62d7b85cd67227e26f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf622250ca09d62d7b85cd67227e26f0">&#9670;&nbsp;</a></span>displayName</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) displayName</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>消息对端昵称 </p>

</div>
</div>
<a id="a7bd664c78e4fcdd242318b903bcd06af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bd664c78e4fcdd242318b903bcd06af">&#9670;&nbsp;</a></span>duration</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (int) duration</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件时长 </p><dl class="section note"><dt>注解</dt><dd>语音，视频消息有效 </dd></dl>

</div>
</div>
<a id="a48c9942df1f8290d3d4e7020926b9346"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48c9942df1f8290d3d4e7020926b9346">&#9670;&nbsp;</a></span>error</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gadcdc55c320196bc8d9c918bc1df0edd8">JCMessageChannelReason</a>) error</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gadcdc55c320196bc8d9c918bc1df0edd8">消息错误码</a></p>
<p>当消息状态为 <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga06f14dfb74f599d1decfd5712bef0b01a9fe0299142bd42fe89275f9b12431bbf">JCMessageChannelItemStateFail</a> 时有效 </p>

</div>
</div>
<a id="ac9fb0eb0099cca039808fa99c38e8957"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9fb0eb0099cca039808fa99c38e8957">&#9670;&nbsp;</a></span>extraParams</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSDictionary*) extraParams</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>自定义参数集 </p>

</div>
</div>
<a id="aa3d2bc43987983ff731b97b5654a304d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3d2bc43987983ff731b97b5654a304d">&#9670;&nbsp;</a></span>fileSize</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (int) fileSize</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件大小 </p>

</div>
</div>
<a id="a1f870c0a7c1bc7989db85cd050758110"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f870c0a7c1bc7989db85cd050758110">&#9670;&nbsp;</a></span>fileUri</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) fileUri</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件链接</p>
<p>可以通过 <a class="el" href="interface_j_c_storage.html">JCStorage</a> 将文件上传至 Juphoon Cloud 平台来获取该地址，也可以从其他文件消息获取改地址 </p>

</div>
</div>
<a id="a357f3347a4604cd5587d0cba0f648155"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a357f3347a4604cd5587d0cba0f648155">&#9670;&nbsp;</a></span>groupId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) groupId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>群组标识，type 为 <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggaf3c09a60029d0e8dae56658b90f7d0f4abe536cdae1691690b82cbbcc42474d34">JCMessageChannelTypeGroup</a> 时有效 </p>

</div>
</div>
<a id="a511dc4abaa85cba07b04b6819537b0a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a511dc4abaa85cba07b04b6819537b0a2">&#9670;&nbsp;</a></span>isWithdrawal</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (bool) isWithdrawal</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否是撤回消息</p><ul>
<li>true: 是撤回消息</li>
<li>false: 不是撤回消息 </li>
</ul>

</div>
</div>
<a id="a8dd63ca11f090b821baa3b18aefbd806"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dd63ca11f090b821baa3b18aefbd806">&#9670;&nbsp;</a></span>messageId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) messageId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>消息唯一标识 </p>

</div>
</div>
<a id="abd79e52b09aadb6356df7c2f79da607f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd79e52b09aadb6356df7c2f79da607f">&#9670;&nbsp;</a></span>messageType</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) messageType</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>消息内容类型 </p>

</div>
</div>
<a id="a594deb086e4869ac8d1339370b99c395"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a594deb086e4869ac8d1339370b99c395">&#9670;&nbsp;</a></span>senderUid</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) senderUid</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>消息发送者 uid </p>

</div>
</div>
<a id="a386b59f8c74c8eb5484ddec22c01f265"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a386b59f8c74c8eb5484ddec22c01f265">&#9670;&nbsp;</a></span>sentTime</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (long) sentTime</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>发送成功时间，单位毫秒，如果是收到消息则是服务器记录的该消息发送时间 </p>

</div>
</div>
<a id="a12619fd0c3fcffa467de70c8725fb9c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12619fd0c3fcffa467de70c8725fb9c0">&#9670;&nbsp;</a></span>serverMessageId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (long) serverMessageId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>消息的服务器id </p>

</div>
</div>
<a id="a3ffb39314802c6e9ddb3e43e91100c7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ffb39314802c6e9ddb3e43e91100c7f">&#9670;&nbsp;</a></span>serverUid</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) serverUid</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>会话 serverUid </p>

</div>
</div>
<a id="a6e2946d84554de3591e6e0e35d545240"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e2946d84554de3591e6e0e35d545240">&#9670;&nbsp;</a></span>state</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga06f14dfb74f599d1decfd5712bef0b01">JCMessageChannelItemState</a>) state</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>消息状态：</p><ul>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga06f14dfb74f599d1decfd5712bef0b01a1457d8e3d1cc722d2371d59cf88759de">JCMessageChannelItemStateInit</a> : 消息初始状态</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga06f14dfb74f599d1decfd5712bef0b01aad41885b134a6b433bf716732e57f583">JCMessageChannelItemStateTransfering</a> : 消息传输中状态</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga06f14dfb74f599d1decfd5712bef0b01ad598b467b713e09b453c59f34eb3d01c">JCMessageChannelItemStateOK</a> : 消息成功状态</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga06f14dfb74f599d1decfd5712bef0b01a9fe0299142bd42fe89275f9b12431bbf">JCMessageChannelItemStateFail</a> : 消息失败状态</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga06f14dfb74f599d1decfd5712bef0b01a4cb8922afc53abb7f21db36699acd652">JCMessageChannelItemStateArrived</a> : 已送达</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga06f14dfb74f599d1decfd5712bef0b01a9ad4bddd4288b709b52f77895e538f7a">JCMessageChannelItemStateReaded</a> : 已读</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga06f14dfb74f599d1decfd5712bef0b01a48e3bb2669ef2ee3fca09cb030a06e21">JCMessageChannelItemStateWithdrawal</a> : 撤回 </li>
</ul>

</div>
</div>
<a id="a232ccd3fc687dad44a387cc22438c680"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a232ccd3fc687dad44a387cc22438c680">&#9670;&nbsp;</a></span>text</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) text</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>消息内容</p>
<p>包括文本和自定义消息体内容 </p>

</div>
</div>
<a id="a6afc6f092f2076ca0b5672e8042a389f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6afc6f092f2076ca0b5672e8042a389f">&#9670;&nbsp;</a></span>thumbUri</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) thumbUri</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>缩略图链接</p>
<p>可以通过 <a class="el" href="interface_j_c_storage.html">JCStorage</a> 将文件上传至 Juphoon Cloud 平台来获取该地址，也可以从其他文件消息获取改地址 </p>

</div>
</div>
<a id="a04ebcb8801cc110db121474822b158ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04ebcb8801cc110db121474822b158ea">&#9670;&nbsp;</a></span>time</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (long) time</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>发送或者接收时间，单位毫秒 </p>

</div>
</div>
<a id="af5805de3cd29a8d371e192514819656b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5805de3cd29a8d371e192514819656b">&#9670;&nbsp;</a></span>type</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gaf3c09a60029d0e8dae56658b90f7d0f4">JCMessageChannelType</a>) type</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>返回是一对一消息还是群组消息</p>
<ul>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggaf3c09a60029d0e8dae56658b90f7d0f4ae81260071eb3d169c0632cd2e21dd68c">JCMessageChannelType1To1</a> : 一对一消息</li>
<li><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggaf3c09a60029d0e8dae56658b90f7d0f4abe536cdae1691690b82cbbcc42474d34">JCMessageChannelTypeGroup</a> : 群组消息 </li>
</ul>

</div>
</div>
<a id="aee9dfa94ca61406fab5474d386afee76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee9dfa94ca61406fab5474d386afee76">&#9670;&nbsp;</a></span>userId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) userId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>消息对端用户标识 </p>

</div>
</div>
<a id="a533d5862016c533a6e5d14212dc411b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a533d5862016c533a6e5d14212dc411b9">&#9670;&nbsp;</a></span>withdrawalMessageId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (long) withdrawalMessageId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>撤回的消息id </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>JCSDKOC/JCSDKOC/JCMessageChannel/<a class="el" href="_j_c_message_channel_item_8h_source.html">JCMessageChannelItem.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
